﻿@model IEnumerable<MediaAdmin.Controllers.PresetController.PresetSummary>

@{
    ViewBag.Title = "Task Presets for Windows Azure Media Services";
}

<h2>Task Presets for Windows Azure Media Services | <a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj129582.aspx">?</a></h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Name)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Name }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Name })
        </td>
    </tr>
}

</table>
